package org.zcl.observer;

/**
 * .
 *
 * @Author Chenglin Zhu
 * @Date 2022/2/20 10:20 下午
 */
public class D extends A{
    public D(B b) {
        this.b = b;
    }

    @Override
    public void result() {
        System.out.println(b.getStatus());
    }
}
